package com.lan.workflow.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lan.workflow.entity.LeaveApply;
import com.baomidou.mybatisplus.extension.service.IService;
import org.activiti.engine.runtime.ProcessInstance;

import java.util.Map;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lanwp
 * @since 2020-08-13
 */
public interface ILeaveApplyService extends IService<LeaveApply> {

    ProcessInstance startWorkflow(LeaveApply leaveApply, String userid, Map<String, Object> variables);

    IPage<LeaveApply> page(IPage page, Map<String, Object> paramMap);
}
